package com.example.customerservice.client;

import com.example.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-textmessage")
public interface MessageClient {
    @GetMapping("/textmessage/send/{phone}")
    public R send(@PathVariable("phone") String phone);
}
